package thread;

import lombok.Data;
import org.junit.Test;

import java.util.ArrayList;
import java.util.stream.Stream;

/**
 * @author Duanyu
 * @date 2021-11-22 11:06
 */
public class OptionalTest {

    @Data
    class Order{
        private String orderNo;
    }
    @Test
    public void tesst() {
        ArrayList<Order> orderArrayList = new ArrayList<Order>();
        orderArrayList.stream().map(Order::getOrderNo);

    }
}
